package com.ly.hotel.spainterface.jg;

import android.os.Bundle;
import android.util.Log;

import com.ly.hotel.MyBaseActivity;

/**
 * Created by ThinkPad on 2018/2/1.
 */

public class BaseActivity extends MyBaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Log.d("BaseActivity",getClass().getSimpleName());
        ActivityCollector.addActivity(this);
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        ActivityCollector.removeActivity(this);
    }
}
